package com.iwolf.tech.config;

import org.springframework.context.annotation.Configuration;

/**
 * Desc:filter,listener,servlet配置
 * Author:liubo
 * Date: 2017-03-29 16:43
 **/
@Configuration
public class WebConfig {

//    @Bean
//    public FilterRegistrationBean ipFilterRegistration(){
//        FilterRegistrationBean registrationBean=new FilterRegistrationBean();
//        registrationBean.setFilter( new MyFilter());
//        registrationBean.addUrlPatterns("/*");
//        registrationBean.setOrder(1);
//        return registrationBean;
//    }
}
